/*
 * @Descripttion: 
 * @Autor: zhouchen
 * @Date: 2020-11-08 15:26:51
 * @LastEditTime: 2020-12-20 14:50:49
 */
// 引入axios | 路径配置
import { AJAX_PATH } from "@/services/config.js";

// 导入 封装的 有权限请求
import { HTTP_LIMITED } from "@/utils/axios.js";

class ZhuanKu extends HTTP_LIMITED {
   

    // 根据仓库id查询仓位
    getWarhousePositionById(id) {
        return this._get(AJAX_PATH.getWarhousePositionById + id);
    }

    // 保存转库单
    postWarhouseTransfer(options) {
        return this._post(AJAX_PATH.postWarhouseTransfer, options);
    }

    // 更新转库单表头
    postUpdateWarhouseTransfer(options) {
        return this._post(AJAX_PATH.postUpdateWarhouseTransfer, options);
    }

}

export { ZhuanKu }